package com.openlogic.datasource.api.event;

import org.noear.solon.cloud.annotation.CloudEvent;
import org.noear.solon.cloud.eventplus.CloudEventEntity;

/**
 * @ClassName: DataCacheEventModel
 * @Description: 缓存事件Model
 * @author weiyongpeng
 * @date 2024年11月18日 上午8:57:52
 */
@CloudEvent(topic = "data.cache.event", group = "cache")
public class DataCacheEventModel implements CloudEventEntity{

	private String key;

	public DataCacheEventModel() {
		super();
	}

	public DataCacheEventModel(String key) {
		super();
		this.key = key;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}
}
